package com.fz.us.oa.core.service.com.impl;

import com.fz.us.oa.core.service.com.TestService;

import javax.jws.WebService;

/**
 * Created by dzw on 2018/3/27.
 */
@WebService(endpointInterface = "com.fz.us.oa.core.service.com.TestService",serviceName = "Say")
public class TestServiceImpl implements TestService {
    @Override
    public String sayHi(String text) {
        System.out.println("sayHi:"+text);
        return "Hi "+text;
    }

    @Override
    public String sayHello(String text) {
        System.out.println("hehehe:"+text);
        return "Hello "+text;
    }
}
